﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SumerCoreDevOps.Application.Dtos.Requests.Auth
{
    public class RefreshTokenRequest
    {
        /// <summary>
        /// 当前有效的访问令牌
        /// </summary>
        /// <example>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkiLCJuYW1lIjoiSm9obiBEb2UifQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c</example>
        [Description("客户端当前使用的访问令牌（Access Token）")]
        public string AccessToken { get; set; }

        /// <summary>
        /// 用于刷新的刷新令牌
        /// </summary>
        /// <example>5f8d2a7b-3c9e-4b8a-8d7c-2e1f3a5b7c9d</example>
        [Description("用于获取新访问令牌的刷新令牌（Refresh Token）")]
        public string RefreshToken { get; set; }
    }
}
